package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

/**
 * table --> mmd_area
 * remarks --> 
 * columns --> areaId,areaName,level,parentAreaId,createTime,remark
 */
@ApiModel(value = "mmd_area",description = "")
public class MmdArea implements Serializable {
    /**
     * areaId
     * 区域ID
     */
    @ApiModelProperty(value="areaId",name="区域ID")
    private Long areaId;

    /**
     * areaName
     * 区域名称
     */
    @ApiModelProperty(value="areaName",name="区域名称")
    private String areaName;

    /**
     * level
     * 
     */
    @ApiModelProperty(value="level",name="")
    private Integer level;

    /**
     * parentAreaId
     * 父类ID
     */
    @ApiModelProperty(value="parentAreaId",name="父类ID")
    private Long parentAreaId;

    /**
     * createTime
     * 
     */
    @ApiModelProperty(value="createTime",name="")
    private Date createTime;

    /**
     * remark
     * 
     */
    @ApiModelProperty(value="remark",name="")
    private String remark;

    private static final long serialVersionUID = 1L;

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName == null ? null : areaName.trim();
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getParentAreaId() {
        return parentAreaId;
    }

    public void setParentAreaId(Long parentAreaId) {
        this.parentAreaId = parentAreaId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", areaId=").append(areaId);
        sb.append(", areaName=").append(areaName);
        sb.append(", level=").append(level);
        sb.append(", parentAreaId=").append(parentAreaId);
        sb.append(", createTime=").append(createTime);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}